package org.jeecg.glr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.glr.entity.GlrVideoBdResource;
import org.jeecg.glr.entity.GlrVideoBdURRelation;

import java.util.List;

/**
 * @Description: 视频萤石
 * @Author: jeecg-boot
 * @Date:   2020-02-11
 * @Version: V1.0
 */
public interface GlrVideoBdURRelationMapper extends BaseMapper<GlrVideoBdURRelation> {


    @Select("SELECT resource_id FROM glr_video_bd_u_r_relation WHERE user_id = #{userId}")
    List<String> getResourceByUserId(String userId);

}
